
/*
 *
 *  * Copyright (c) 2016. For Intelligent Group.
 *
 */
package com.intelligent.ispc.client.ex.dynamictable;

import javax.swing.table.TableModel;
import java.util.List;

/**
 * Created by Peter on 2016/10/21.
 */

/**
 *Define the dynamic table model interface
 * @param <T> Generic data
 */
public interface DyTableModel<T> extends TableModel {

    /**
     * Get the data
     * @return Generic data collection
     */
    List<T> getData();

    /**
     * Set the data
     * @param data  Generic data collection
     */
    void setData(List<T> data);
}


